package com.base.mapper.voipmapper;

import com.base.po.voip.GasOrderEjy;
import com.base.po.voip.GasOrderEjyExample;

import java.util.List;

import com.base.utils.Page;
import org.apache.ibatis.annotations.Param;

public interface GasOrderEjyMapper {
    int countByExample(GasOrderEjyExample example);

    int deleteByExample(GasOrderEjyExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(GasOrderEjy record);

    int insertSelective(GasOrderEjy record);

    List<GasOrderEjy> selectByExample(GasOrderEjyExample example);

    GasOrderEjy selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") GasOrderEjy record, @Param("example") GasOrderEjyExample example);

    int updateByExample(@Param("record") GasOrderEjy record, @Param("example") GasOrderEjyExample example);

    int updateByPrimaryKeySelective(GasOrderEjy record);

    int updateByPrimaryKey(GasOrderEjy record);

    int coutByOutTradeNo(@Param("outstate") String outstate);

    GasOrderEjy selectByOutTradeNo(@Param("outstate") String outstate);

    Integer countByUserIdPage(@Param("subid") String subid, @Param("page") Page page);

    List<GasOrderEjy> selectByUserIdPage(@Param("subid") String subid,@Param("page") Page page);

    GasOrderEjy selectByOrderId(@Param("orderid") String orderid);
}